package com.ruiyian.bridge.project.service;



import com.ruiyian.bridge.project.domain.DeviceInfo;
import com.ruiyian.bridge.project.domain.vo.DeviceNumSummaryVO;

import java.util.List;

/**
 * @Description: 设备信息
 * @Author: jeecg-boot
 * @Date:   2020-08-25
 * @Version: V1.0
 */
public interface DeviceInfoService {

	DeviceInfo queryDeviceByAdd(String addr, String macaddr);

	List<DeviceInfo> querySeachList(DeviceInfo device);

	List<DeviceNumSummaryVO> queryDeviceNum(Integer bridgeId);

	void save(DeviceInfo device);

	void updateById(DeviceInfo device);

	void removeById(String id);

	DeviceInfo getById(String id);

}
